/**
 * 路由初始化
 * @module router/index
 */
import Vue from 'vue';
import Router from 'vue-router';
import routes from './routes/index';
import guarder from '../helper/guarder';
const router = new Router(routes);
guarder(router);
Vue.use(Router);

export default router;
